package com.test.demo;

/**
 * @Author whg
 * @create 2023/11/8 10:29
 * @description：
 */
public class HelloWorld {

    public static int add(int a,int b){
        return a + b;
    }

    public static byte add(byte a,byte b){
        return (byte)(a + b);
    }

    public static void main(String[] args) {
        byte a = 127;
        byte b = 1;
        System.out.println(add(a,b));
    }
}
